package service;


import model.Flower;

import java.util.List;

public interface IFlowerService {
    public List getNewFlower();

    public List getFlowerByCatalogidPaging(int catalogid, int currentPage, int pageSize);

    public int getTotalByCatalog(int catalogid);

    public Flower getFlowerById(int id);

    public boolean addOrUpdateFlower(Flower flower);

    public List getAllFlower();

    public boolean deleteFlowerById(int id);
}
